// import './css/reset.css';
import scrollx from './layout/scrollx.vue';
import table from './layout/table.vue';
import popover from './others/popover.vue';

import checkbox from './form/checkbox.vue';
import radio from './form/radio.vue';
import select from './form/select.vue';


var components={
  scrollx,
  table,
  checkbox,
  radio,
  popover,
  select
}

console.log(components);

var prefix='rx-';
Object.keys(components).forEach(name => {
  Vue.component(prefix+name,components[name]);
});

import maskfn from './dialog/mask.js'
// import alert from './dialog/dialog.js'
import {Alert, Confirm, Msgbox} from './alert';
import Toast from './toast';
import Fixed from './others/fixed';
var _vueProto=Vue.prototype;
_vueProto.$rxMask=maskfn;
_vueProto.$rxAlert= Alert;
_vueProto.$rxConfirm = Confirm;
_vueProto.$rxMsgbox = Msgbox;
_vueProto.$rxToast = Toast;
_vueProto.$rxFixed = Fixed;

